<?php
/**
 * Created by PhpStorm.
 * User: N
 * Date: 2017/12/13
 * Time: 15:17
 */
namespace common\models;

use Yii;

use yii\db\ActiveRecord;


/**
 * This is the model class for table "category".
 **/
class Logtransfer extends ActiveRecord
{
     /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return '{{%logtransfer}}';
    }



    /**
    * 验证规则
    */
    public function rules()
    {
        return [
            [['branch_from','branch_to','uid','op_id','op_time','ttime','note'],'default'],
        ];
    }

    public function attributeLabels()
    {
        return [
            'ttime' => '迁移时间'
        ];
    }

}